This table relates four things to the version of
the System installed on the target machine:
- which version of the extension must or may
be installed;
- the version of the API provided by that
extension; and,
- the version number produced by passing
gestaltAppearanceVersion
to
Gestalt .
Version 1.0 of the extension does not advertise
its version via Gestalt Manager; if the
gestaltAppearanceVersion
selector is not present but the
gestaltAppearanceAttr
selector produces a value which indicates
Appearance is present, you can assume version 1.0
of the API is available.
The 1.0.2 extension uses Gestalt Manager to
advertise version 1.0.1 of the API. The only
differences between Appearance extensions 1.0.1 and
1.0.2 are that 1.0.2 contains:
- extra code for backward compatibility;
and
- the ".Keyboard" font, which you can detect
by calling
GetFNum .
The 1.0.4 extension uses Gestalt Manager to
advertise version 1.0.1 of the API. The only
difference between Appearance extensions 1.0.2 and
1.0.4 is that 1.0.4 contains the same ".Keyboard" font
as found in Mac OS 8.5. In the SDK, the font is delivered
as a separate suitcase which should be installed
into the Fonts folder. The font can still be
detected with
GetFNum .
|